import Vue from 'vue'
import App from './App.vue'
import axios from 'axios'

Vue.config.productionTip = false
Vue.prototype.$http = axios
import eleui from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import './assets/global.css'
import router from "@/router";
Vue.use(eleui);
import {postRequest} from "./utils/api.js";
import {postKeyValueRequest} from "./utils/api.js";
import {putRequest} from "./utils/api.js";
import {deleteRequest} from "./utils/api.js";
import {getRequest} from "./utils/api.js";
Vue.prototype.postRequest = postRequest;
Vue.prototype.postKeyValueRequest = postKeyValueRequest;
Vue.prototype.putRequest = putRequest;
Vue.prototype.deleteRequest = deleteRequest;
Vue.prototype.getRequest = getRequest;
new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
